<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
			<script>
					
					// 日期时间对象
					var d1 = new Date(); // 当前时间
					document.write(d1.getFullYear()+"-");
					document.write((d1.getMonth()+1)+"-");
					document.write(d1.getDate()+"&nbsp;");
					document.write(d1.getHours()+":");
					document.write(d1.getMinutes()+":");
					document.write(d1.getSeconds()+".");
					document.write(d1.getMilliseconds());
					
					
				</script>
	</body>
</html>
